<?php
//增加默认字段
$typeList = array('0'=>'请选择','newslist'=>'新闻动态','companyinfo'=>'公司信息','contactus'=>'联系我们');
?>
<table class="table table-hover">
    <colgroup>
        <col class="span1">
        <col class="span7">
    </colgroup>
    <thead>
        <tr>
            <th><?php echo '属性'; ?></th>
            <th><?php echo '内容'; ?></th>
        </tr>
    </thead>
    <tbody>
         <tr><td> <?php echo '活动字段'; ?> </td>
            <td>
                <?php
                 echo $form->dropDownList($model, $activityIdentityField, $typeList, array('class' => 'span7'));
//                echo $form->textField($model, $activityIdentityField, array('placeholder' => 'EnglishName' . '...', 'required' => true));
                ?>
            </td>
        </tr>         
        <tr><td> <?php echo '活动名称'; ?> </td>
            <td>
                <?php
                echo $form->textField($model, $activityNameField, array('placeholder' => '活动名称' . '...', 'required' => true));
                ?>
            </td>
        </tr>               
        <tr>
            <td> <?php echo '活动简介'; ?>  </td>                    
            <td>
                <?php
                echo $form->textArea($model, $activityDescriptionField, array('placeholder' => '活动简介' . '...'));
                ?>
        </tr>
    </tbody>
</table>